package com.demo.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demo.domain.RegistrationInformation;
import com.demo.domain.TeamProfile;
import com.demo.domain.ro.AddRegInfoRequest;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface TeamDao extends BaseMapper<TeamProfile> {
    /*
    通过队伍编号uid显示队伍详情
    * */
    @Select("select * from tb_team_profile where tp_id = #{tpId}")
    public TeamProfile findByTeamid(Long tpId);


}
